package com.woniuxy.commons.service;

import com.woniuxy.commons.enums.ResultEnum;
import com.woniuxy.commons.util.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.Arrays;
import java.util.List;

/**
 * @Author: yangtao
 * @date 2021/8/6 10:02
 * @Version 1.0
 */
@FeignClient(name = "AUTH")
public interface AuthService {
    //路径为完整路径
    @GetMapping("/auth/perms/{account}/{perms}")
    public ResponseResult existPerms(@PathVariable("account") String account, @PathVariable("perms") String perms);
}
